@nodeHeight:40px;//结点大小
@nodeWidth:40px;
@nodeRadius:6px;
*{
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select:none
}
p{
  margin: 0px !important;
}

//resize
#resize{
  width: 5px;
  // background:#000;
  cursor: ew-resize;
  position: absolute;
  height:calc(100vh - 45px);
  z-index: 999;
}
//图标可用和不可用
.anticon{
  transition: all 0.5s;
  border-radius: 3px;
  cursor: pointer;
  padding: 3px;
  &-action:hover{
    transform: rotate(360deg)
  }
  &-ok:hover{
    color: rgb(61,120,205) !important;
    background: #e2e4e6 !important;
  }
  &-no{
    color: rgba(0,0,0,0.1) !important;
  }
}

//modal居中
.ant-modal-wrap {
  display: flex;
  .ant-modal{
    transition: all 1s !important;
    top: 0 !important;
    margin: auto;
    padding: 0;
    &-body{
      max-height: calc(100vh - 180px);
      overflow-y: scroll;
    }
  }
}

//span+input
.modal-body-div{
  display: flex;
  align-items: center;
  height: 40px;
  >span{
    white-space: nowrap;
    margin-right: 5px;
    flex:1;
  }
  .ant-select-selection,
  .ant-input-number-input,
  >input,>textarea,
  >div,
  .ant-select{
    flex: 4;
    background: #fff !important;
    color: #000 !important;
  }
  >div.ant-select{
    height:32px !important;
    width:0 !important;
    .ant-select-selection{
      height: 100% !important;
      overflow-y: scroll !important;
      &::-webkit-scrollbar {
        width: 5px !important;
      }
    }
  }
  textarea{
    resize: none;
  }
}

// 修改滚动条样式
::-webkit-scrollbar-thumb {
  background-color: #c2c2c2;
  cursor: pointer;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #f6f7fb;
  border-radius: 4px;
}
::-webkit-scrollbar {
  width: 2px !important;
  height: 8px !important;
}
.nowarp-noellips{
  white-space: nowrap;
  display: inline-block;
  display: flex;
  align-items:center;
}
.nowarp{
  white-space: nowrap;
  display: inline-block;
  // width: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  // line-height: 1;
}
.hidden-scroll{
  overflow: scroll;
  &::-webkit-scrollbar {
    height: 0px !important;
    width: 0px !important;
  }
}
.hand-scroll{
  overflow: scroll;
  &::-webkit-scrollbar {
    height: 0px !important;
    width: 9px !important;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 0;
    border-style: dashed;
    background-color: rgba(157, 165, 183, 0.4);
    border-color: transparent;
    border-width: 2px;
    background-clip: padding-box;
  }
  &::-webkit-scrollbar-thumb:hover {
    background: rgba(157, 165, 183, 0.7)
  }
}



//table样式
.ant-table-tbody {
  .selected{//选中
    background-color: rgb(178 226 249);
    font-weight: 700;
  }
  .disabled{//禁用
    opacity: 0.3;
  }
  .normal{//默认
   
  }
}
.ant-table-thead > tr > th,
.ant-table-tbody > tr > td{
  padding:8px !important;
  /* padding:0px !important;
  >*:nth-child(1){
    margin:8px !important;
  } */
}
.ant-table-column-sorter{
  display: flex !important;
}
div.ant-table-header{
  padding-right: 2px !important;//跟下边有一个就行
/*  th{
    text-align: center !important;
  } */
}
/* ::v-deep div.ant-table-body::-webkit-scrollbar{
  width:0px !important;
} */
.ant-table-header{
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  height: 35px !important;
  display: flex !important;
  align-items: center !important;
}
.ant-table-row {
  white-space: nowrap !important;
  cursor: pointer !important;
}
.ant-table-footer{
  height: 30px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

//结点样式
.nodeClass { //结点样式
  height:100%;
  width:100%;
  border-radius: @nodeRadius;
  background-color: #fff !important;
  background-size:calc(@nodeHeight - 10px) calc(@nodeWidth - 10px) !important;
  background-position: center center !important;
  box-shadow: #2b4242a8 1px 1px 2px 0px;
  &:hover .text{
    opacity: 1;
    color: rgb(61,120,205);
  }
  .text{
    transition: all .3S;
    opacity: 0.8;
    font-size: 18px;
    font-weight: 700;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,100%);
    white-space: nowrap;
  }
}

//ModalZIndex
.ant-modal-mask,.ant-modal-wrap{
  z-index: 999 !important;
}



//tab切换
.hover-show{
  //变量定制、
  display: grid;
  grid-template-columns: repeat(6, 80px);
  justify-items: center;
	font-weight: normal;
  >li{
    display: block;
    padding: 0 12px;
    position: relative;
    width:80px;
    height: 40px;
    >span{
      transition: all .5s;
      display: flex;
      justify-content:center;
      align-items: center;
      cursor: pointer;
      font-family: tahoma,"microsoft yahei","微软雅黑";
      font-size: 14px;
      height: 40px;
      color: #00000080;
      &.active{
        opacity: 1 !important;
        color: #000 !important;
      }
    }
    >div{
      max-height: calc(100vh - 110px);
      min-width: 180px;
      overflow-y: scroll;
      transition: all .5s;
      // padding: 0;
      padding: 5px;
      background-color: #fffffa;
      // border-radius: 6px 6px 4px 4px;
      z-index: 999;
      left:0;
      // transform: translate(calc(-50% + 40px), 0);
      top:40px;
      font-size: 12px;
      position: absolute;
      box-shadow: 0 0 4px 0 #6973b3;
      .active{
        color: #fff !important;
        background-color: #5ea4eb !important;
      }
      .item{
        display: flex;
				font-weight: normal;
        // border-radius: 6px 6px 4px 4px;
        font-size: 14px;
        height: 38px;
        cursor: pointer;
        align-items: center;
        justify-content: flex-start;
        padding: 0 12px;
        box-sizing: border-box;
        // color: #0004;
        white-space: nowrap;
        text-align: center;
        width: 100%;
        &:hover{
          color: #fff;
          background-color: #5ea4eb;//#1890ff;
        }
      }
			.sel_item:nth-child(1){
				margin-bottom: 5px;
				span{
					margin-right: 20px;
				}
			}
			.info_item{
				font-weight: normal;
			}
    }
    &:hover >span{ 
      opacity: 1;
      // color: #3d78cd;
    }
    transition: all 0.3s;
    &:not(:last-child):hover {
      background:#f2f4f6;
    }
  }
}

.fx-box{
  display: flex;
  padding: 5px 4em 5px 5px;
  .fx-title{
    font-size:16px;
    flex: 1;
  }
  .fx-value{
    font-size:18px;
    text-indent: 1em;
    flex:2;
    border-bottom: 1px solid #0003;
  }
}



.ant-tooltip-inner{
  white-space: pre-wrap;
}